package a02op_extends.a04test1;

public class Test {
    public static void main(String[] args) {
        Manager m =new Manager("20001","张三",30000,2000);
        m.eat();
        m.work();

        System.out.println("--------------------------------------");
        Coke c = new Coke("10001","李四",20000);
        m.eat();
        m.work();

    }
}
